package com.webside.wap.common.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.webside.wap.common.model.BVideo;
/**
 * 
 * @author XuanZhen
 * @see Video Operation
 */
@Repository
public interface BVideoMapper {
	
		int deleteByPrimaryKey(Integer id);

	    int insert(BVideo record);
	    
	    int insertSelective(BVideo record);
	    //查询视频信息
	    BVideo selectByPrimaryKey(Integer id);

	   
	    int updateByPrimaryKeySelective(BVideo record);

	    int updateByPrimaryKey(BVideo record);
	   
	    //详细页面剧集选择
	    List<BVideo> selectVideo(BVideo bVideoEntity);
	    List<BVideo> selectVideoBySId(Integer seriesId);
	    //点赞
	     void updateVideoLikeCount(BVideo video);
	     //播放次数累加
	     void  updateVideoPlayCount(BVideo video);
	    
	    
}
